@{
    Layout = null;
}
<!DOCTYPE html>

<html>
<head>
    <title></title>
</head>
<body>
<script type="text/javascript">
        $(document).ready(function() {

           
			
			$('#NewLogCategory').click(function(event) {
$.ajax({
	url: '@Url.Content("~/LogCategory/NewLogCategoryForm/")',
	cache: false,
	success: function (html) {
	$('#Main').html(html);
	return false;
}});
});
$('#UpdateLogCategory').click(function(event) {
$.ajax({
	url: '@Url.Content("~/LogCategory/UpdateLogCategoryForm/")' + LogCategoryID ,
	cache: false,
	success: function (html) {
	$('#Main').html(html);
	return false;
}});
});
$('#LogCategoryGrid').click(function(event) {
$.ajax({
	url: '@Url.Content("~/LogCategory/LogCategoryGrid/")',
	cache: false,
	success: function (html) {
	$('#Main').html(html);
	$("#list").setGridParam({ datatype: 'json', url: "./LogCategory/GetAll/" }).trigger("reloadGrid");
	return false;
}});
});
$('#LogCategorySearch').click(function(event) {
$.ajax({
	url: '@Url.Content("~/LogCategory/LogCategorySearch/")',
	cache: false,
	success: function (html) {
	$('#Main').html(html);
	return false;
}});
});
$('#LogCategoryDetails').click(function(event) {
$.ajax({
	url: '@Url.Content("~/LogCategory/LogCategoryDetails/")' + LogCategoryID,
	cache: false,
	success: function (html) {
	$('#Main').html(html);
	return false;
}});
});
$('#NewTenant').click(function(event) {
$.ajax({
	url: '@Url.Content("~/Tenant/NewTenantForm/")',
	cache: false,
	success: function (html) {
	$('#Main').html(html);
	return false;
}});
});
$('#UpdateTenant').click(function(event) {
$.ajax({
	url: '@Url.Content("~/Tenant/UpdateTenantForm/")' + TenantID ,
	cache: false,
	success: function (html) {
	$('#Main').html(html);
	return false;
}});
});
$('#TenantGrid').click(function(event) {
$.ajax({
	url: '@Url.Content("~/Tenant/TenantGrid/")',
	cache: false,
	success: function (html) {
	$('#Main').html(html);
	$("#list").setGridParam({ datatype: 'json', url: "./Tenant/GetAll/" }).trigger("reloadGrid");
	return false;
}});
});
$('#TenantSearch').click(function(event) {
$.ajax({
	url: '@Url.Content("~/Tenant/TenantSearch/")',
	cache: false,
	success: function (html) {
	$('#Main').html(html);
	return false;
}});
});
$('#TenantDetails').click(function(event) {
$.ajax({
	url: '@Url.Content("~/Tenant/TenantDetails/")' + TenantID,
	cache: false,
	success: function (html) {
	$('#Main').html(html);
	return false;
}});
});

            $('#accordion').accordion();

        });
</script>

    <div id="accordion">
        
        
            
			<h3><a href="#">Log Category</a></h3>
<div>
<ul>
<li><a href="#" id="NewLogCategory"><span>New Log Category</span></a></li>
<li><a href="#" id="UpdateLogCategory"><span>Update Log Category</span></a></li>
<li><a href="#" id="LogCategoryGrid"><span>Log Category List</span></a></li>
<li><a href="#" id="LogCategorySearch"><span>Log Category Search</span></a></li>
<li><a href="#" id="LogCategoryDetails"><span>Log Category Details</span></a></li>
</ul>
</div>
<h3><a href="#">Tenant</a></h3>
<div>
<ul>
<li><a href="#" id="NewTenant"><span>New Tenant</span></a></li>
<li><a href="#" id="UpdateTenant"><span>Update Tenant</span></a></li>
<li><a href="#" id="TenantGrid"><span>Tenant List</span></a></li>
<li><a href="#" id="TenantSearch"><span>Tenant Search</span></a></li>
<li><a href="#" id="TenantDetails"><span>Tenant Details</span></a></li>
</ul>
</div>
       
		
    </div>
</body>
</html>
